package com.example.questionsystem.modules.qu.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.*;

import java.util.Date;

@Data
@TableName("projects")
@Getter
@Setter
@AllArgsConstructor
@NoArgsConstructor
@Builder
public class Projects {
    @TableField("project_id")
    private String  projectId;
    @TableField("project_name")
    private String projectName;
    @TableField("subject_count")
    private Integer subjectCount;
    @TableField("created_at")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private String createdAt;
    @TableField("updated_at")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private String updatedAt;

}